package com.worthtech.billportal.dao;

import java.util.List;

import com.worthtech.billportal.bean.CsCtrlUsergroup;
import com.worthtech.billportal.bean.CsCtrlGroupmodule;
import com.worthtech.billportal.exception.SCException;

public interface CtrlUserGroupDAO {
	
	public CsCtrlUsergroup getUserGroup(String groupid);

	public List getList(String orgcode);
	
	public List getListByHQL(String tableName, int startPage, int perNo,
			String orderby);
	
	public String getCount(String tableName, String condition);
	
	public void saveInfo(CsCtrlUsergroup group);
	
	public void updateInfo(CsCtrlUsergroup group) throws SCException;
	
	public void delInfo(CsCtrlUsergroup group);
	
	public String getSeqID(String seqID);
	
	public void saveGroupModule(CsCtrlGroupmodule groupmodule);

	public void delGroupModule(String groupid);
	
	public List getGroupModule(String groupid);
}
